cd /home/zz/api

rm -rf ../www/dev-docs
./vendor/bin/apidoc api ./controllers ../www/dev-docs/controllers
./vendor/bin/apidoc api ./models ../www/dev-docs/models
./vendor/bin/apidoc api ./services ../www/dev-docs/services

#./vendor/bin/apidoc api . ../dev-docss